Skip to content

Custom fmt formatter for ustringhash prints the string, not the hash #3614

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 22, 2022

Conversation

lgritz
Copy link
Collaborator

@lgritz lgritz commented Oct 18, 2022

Also, change operator<< to output the string, not the hash itself. These changes help push us more toward the original intent of ustringhash being a drop-in replacement for ustring, any time it's more desirable to be using the hashes rather than the pointers.

Also, change `operator<<` to output the string, not the hash itself.
These changes help push us more toward the original intent of
ustringhash being a drop-in replacement for ustring, any time it's
more desirable to be using around the hashes rather than the pointers.
@lgritz lgritz merged commit 737b317 into AcademySoftwareFoundation:master Oct 22, 2022
@lgritz lgritz deleted the lg-ustringhash branch October 22, 2022 16:19
lgritz added a commit to lgritz/OpenImageIO that referenced this pull request Oct 22, 2022
…cademySoftwareFoundation#3614)

Also, change `operator<<` to output the string, not the hash itself.
These changes help push us more toward the original intent of
ustringhash being a drop-in replacement for ustring, any time it's
more desirable to be using around the hashes rather than the pointers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant